package org.yournamehere.server;

import java.sql.Connection;
import java.sql.SQLException;

public class ConexionMSSQLServer {
	protected Connection getConn() throws ClassNotFoundException, SQLException {
		Connection conn = null;

        		Class.forName("net.sourceforge.jtds.jdbc.Driver");
        		String user="cfgomezr",password="s02257160",url="168.176.36.26:1433";
                conn = java.sql.DriverManager.getConnection("jdbc:jtds:sqlserver://"+url+"/;USER="+user+";PASSWORD="+password);

        return conn;
	}
}

